* w32fns.c (Fsystem_move_file_to_trash): Use delete-directory.
authorMichael Albinus <michael.albinus@gmx.de>
Fri, 2 Oct 2009 06:00:58 +0000 (06:00 +0000)
committerMichael Albinus <michael.albinus@gmx.de>
Fri, 2 Oct 2009 06:00:58 +0000 (06:00 +0000)
src/w32fns.c

index 2b6b12e671ca5f19d2aa9e4aa709f2b796bf52b8..8003d7917191e73e945fcb4c921333cca8135e85 100644 (file)
@@ -6218,7 +6218,7 @@ DEFUN ("system-move-file-to-trash", Fsystem_move_file_to_trash,
   if (!NILP (Ffile_directory_p (filename))
       && NILP (Ffile_symlink_p (filename)))
     {
-      operation = Qdelete_directory_internal;
+      operation = intern ("delete-directory");
       filename = Fdirectory_file_name (filename);
     }
   filename = Fexpand_file_name (filename, Qnil);